package com.elive.dao;

import com.elive.pojo.ApartmentDevice;

import java.util.List;

public interface ApartmentDeviceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ApartmentDevice record);

    int insertSelective(ApartmentDevice record);

    ApartmentDevice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ApartmentDevice record);

    int updateByPrimaryKey(ApartmentDevice record);

    List<ApartmentDevice> selectDeviceList(Integer apartmentId);

    void deleteByApartmentId(Integer apartmentId);

}